package com.ys.zero.bean;

import java.util.Date;

public class User implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;// 用户id
	private String account;// 用户账号
	private String pwd;// 用户密码
	private String name;// 用户昵称
	private String sex;// 性别
	private String introduction;// 用户简介
	private String image;// 用户头像
	private Integer state;// 用户状态 0不在线 1在线
	private Integer role;
	private Integer vip;
	private Date date;
	private String email;
	private String hobby; //存储爱好的编号
	private int constellation; //存储星座的编号
	private String birthday;//存储生日
	private String location;//所属地区
	private Integer telphone;//电话
	private String realName;//真实姓名
	private String superior;//负责人(上级)
	public String getSuperior() {
		return superior;
	}
	public void setSuperior(String superior) {
		this.superior = superior;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Integer getRole() {
		return role;
	}
	public void setRole(Integer role) {
		this.role = role;
	}
	public Integer getVip() {
		return vip;
	}
	public void setVip(Integer vip) {
		this.vip = vip;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	public int getConstellation() {
		return constellation;
	}
	public void setConstellation(int constellation) {
		this.constellation = constellation;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public Integer getTelphone() {
		return telphone;
	}
	public void setTelphone(Integer telphone) {
		this.telphone = telphone;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", account=" + account + ", pwd=" + pwd + ", name=" + name + ", sex=" + sex
				+ ", introduction=" + introduction + ", image=" + image + ", state=" + state + ", role=" + role
				+ ", vip=" + vip + ", date=" + date + ", email=" + email + ", hobby=" + hobby + ", constellation="
				+ constellation + ", birthday=" + birthday + ", location=" + location + ", telphone=" + telphone
				+ ", realName=" + realName + ", superior=" + superior + "]";
	}
	
}
